package com.seveneight.baijiesteward.ui.user.contract;

import android.content.Context;

import com.seveneight.baijiesteward.bean.OrderBean;
import com.seveneight.baijiesteward.http.MyCallBack;

import okhttp3.RequestBody;

/**
 * Created by user1 on 2018/3/28.
 */

public interface CreateOderContract {
    interface CreateOderView {
        void reBackOrderInfo(OrderBean orderBean);
    }

    interface CreateOderModel {
        void createOrder(Context context, RequestBody body, MyCallBack<OrderBean> myCallBack);
    }

    interface CreateOderPresenter {
        void createOrder(Context context,RequestBody body);
    }
}
